package client

import (
	"cloud_worm/util/unet/usocket"
	"sync"
)

type AgentInfo struct {
	IP 		string
	Id 		string

	Version 		int
	Pid 			int
	Timestamp 		int64
}

type Agent struct {
	usocket.Connection

	AgentInfo

	CmdChanLock 	sync.Mutex
	CmdChanMap		map[string]chan interface{}
}

